package com.heima.wemedia.service;

import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;

/**
 * @author JianKang
 * @create 2023-10-24 17:18
 */
public interface WmNewsTaskService {

    /**
     * @param id          文章id
     * @param publishTime 发布时间
     */
    void addNewsToTask(Integer id, Date publishTime);

    void scanNewsByTask();
}
